package com.xunwulian.base.constant;

import com.xunwulian.base.util.EnumType;

/**
 * excel中状态
 */
public enum WorkStatus implements EnumType<WorkStatus, Integer, String> {

    IDLE(0, "离线"),
    WORKING(1, "在线"),
    UNKNOWN(99, "未知");

    public int type;
    public String desc;

    WorkStatus(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    @Override
    public Integer getType() {
        return this.type;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }
}
